From: Carlos Garnacho Date: Fri, 26 Jan 2024 15:18:38 +0000 (+0100) Subject: keyboard: Minor refactor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~87 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9c8452269d1fb00bd8808d3d0843112eac75bd96;p=gnome-shell.git keyboard: Minor refactor Call the _updateKeys() method, instead of inlining it. Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 56c8d585e..05ac18a8b 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1411,8 +1411,7 @@ export const Keyboard = GObject.registerClass({ this._keypad.hide(); this._keypadVisible = false; - this._ensureKeysForGroup(this._keyboardController.getCurrentGroup()); - this._setActiveLayer(0); + this._updateKeys(); Main.inputMethod.connectObject( 'terminal-mode-changed', this._onTerminalModeChanged.bind(this),